package com.xtwy.simple;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

/*
 * -----------------------------------------------------------------
 * Copyright (C) 2018-2030, by your company, All rights reserved.
 * -----------------------------------------------------------------
 * 文    件: ShowQRCodeContentActivity.java
 * 作    者: 侯建军
 * 版    权: 1.0.0
 * 描    述: 显示二维码内容
 * 创建时间: 2018/9/19 11:50
 * 更新时间：2018/9/19 11:50
 * -----------------------------------------------------------------
 * 2018/9/19 11:50: 创建 ShowQRCodeContentActivity.java (侯建军);
 * -----------------------------------------------------------------
 */
public class ShowQRCodeContentActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_qr_code_content);

        Intent intent = getIntent();
        if (intent.hasExtra("qr_content")) {
            TextView tvContent = findViewById(R.id.tv_content);
            tvContent.setText(intent.getStringExtra("qr_content"));
        }
    }
}